// ==============================================================================================
// OutlookTreeNode.cs
//
// Created by: NI, 2007.03.27
// Revised by: NI, 2007.11.23
// ==============================================================================================
using RibbonExplorer.Entities;

namespace RibbonExplorer.Tree
{
  // ==============================================================================================
  /// <summary>
  /// This tree node represents Microsoft Outlook 2007
  /// </summary>
  // ==============================================================================================
  public sealed class OutlookTreeNode : OfficeAppTreeNode
  {
    // --------------------------------------------------------------------------------------------
    /// <summary>
    /// Creates the tree node instance
    /// </summary>
    // --------------------------------------------------------------------------------------------
    public OutlookTreeNode()
      : 
      base(new OfficeApp("Outlook2007", "Microsoft Outlook 2007"))
    {
    }

    // --------------------------------------------------------------------------------------------
    /// <summary>
    /// Inits ribbons belonging to this application
    /// </summary>
    // --------------------------------------------------------------------------------------------
    protected override void InitRibbons()
    {
      Application.AddRibbon(new Ribbon("AddressItemRibbon", "Address Item", Application));
      Application.AddRibbon(new Ribbon("AppointmentItemRibbon", "Appointment Item", Application));
      Application.AddRibbon(new Ribbon("DistributionListItemRibbon", "Distribution List Item", Application));
      Application.AddRibbon(new Ribbon("JournalItemRibbon", "Journal Item", Application));
      Application.AddRibbon(new Ribbon("MailComposeItemRibbon", "Mail Compose Item", Application));
      Application.AddRibbon(new Ribbon("MailReadItemRibbon", "Mail Read Item", Application));
      Application.AddRibbon(new Ribbon("MeetingCounterProposeItemRibbon", "Meeting Counter Propose Item", Application));
      Application.AddRibbon(new Ribbon("MeetingRequestComposeItemRibbon", "Meeting Request Compose Item", Application));
      Application.AddRibbon(new Ribbon("MeetingRequestReadItemRibbon", "Meeting Request Read Item", Application));
      Application.AddRibbon(new Ribbon("MeetingResponseComposeItemRibbon", "Meeting Response Compose Item", Application));
      Application.AddRibbon(new Ribbon("MeetingResponseReadItemRibbon", "Meeting Response Read Item", Application));
      Application.AddRibbon(new Ribbon("PostItemRibbon", "Post Item", Application));
      Application.AddRibbon(new Ribbon("PostReadItemRibbon", "Post Read Item", Application));
      Application.AddRibbon(new Ribbon("ReportItemRibbon", "Report Item", Application));
      Application.AddRibbon(new Ribbon("ResendItemRibbon", "Resend Item", Application));
      Application.AddRibbon(new Ribbon("RSSItemRibbon", "RSS Item", Application));
      Application.AddRibbon(new Ribbon("SharingComposeItemRibbon", "Sharing Compose Item", Application));
      Application.AddRibbon(new Ribbon("SharingReadItemRibbon", "Sharing Read Item", Application));
      Application.AddRibbon(new Ribbon("TaskItemRibbon", "Task Item", Application));
    }
  }
}
